package com.suse.warmstill.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Blob;
import java.time.LocalDateTime;

/**
 * @author 黄靖
 * @author 2022-11-03 14:00
 * description:
 **/
@ApiModel("学生vo模型")
@Data
@Validated
public class StudentVo extends BaseVo {

    /*@ApiModelProperty("id（自增）")
    private Integer studentId;*/


    @NotNull(message = "学号不能为空")
    @ApiModelProperty("学号")
    private String number;

    @NotNull(message = "姓名不能为空")
    @ApiModelProperty("姓名")
    private String name;


    @ApiModelProperty("性别,0 是男 ，1 是女")
    private int gender;

    @NotNull(message = "电话不能能为空")
    @ApiModelProperty("电话")
    private String phone;

    @NotNull(message = "学校不能能为空")
    @ApiModelProperty("学校")
    private String school;

    @NotNull(message = "学院不能能为空")
    @ApiModelProperty("学院")
    private String college;

    @NotNull(message = "专业不能能为空")
    @ApiModelProperty("专业")
    private String profession;

    @NotNull(message = "班级不能能为空")
    @ApiModelProperty("班级")
    private String classes;

    @ApiModelProperty("出生日期")
    private String birthday;

    @NotNull(message = "情绪状态不能能为空")
    @ApiModelProperty("情绪状态")
    private String emoStatus;


}
